package com.rh.manage.util;

import com.rh.manage.annotation.ComponentBean;
import com.rh.manage.constants.FrameCategoryEnum;
import lombok.Getter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * 用于记录当前容器
 */
@Getter
@EnableAsync
@ComponentBean(FrameCategoryEnum.PRO_MANAGE)
public class CurrentContainer {

    @Autowired
    private ConfigurableApplicationContext currentContext;
}
